package file.dir;

import java.io.File;

public class DeleteTest3 {
    public static void main(String[] args) {
        for(char i='a';i<='z';i++){
            File dir =new File("./demo/"+i);
            if(dir.exists()){
                dir.delete();
                System.out.println("删除成功");
            }else {
                System.out.println("删除失败");
            }

        }
    }
}
